package com.kaili.basic.pojo.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author fzj
 * @since 2018-05-09
 */
@TableName("base_company")
public class BaseCompany extends CommonVo implements Serializable{

    private static final long serialVersionUID = 1L;

    /**
     * 公司Id
     */
    @TableId(value = "company_id", type = IdType.AUTO)
    private Integer companyId;
    /**
     * 公司编号
     */
    @TableField("company_code")
    private Integer companyCode;
    /**
     * 公司名字
     */
    @TableField("company_name")
    private String companyName;
    /**
     * 使用产品ID
     */
    @TableField("product_id")
    private Long productId;
    /**
     * 使用产品
     */
    @TableField("product")
    private String product;
    /**
     * 用户数量
     */
    @TableField("user_count")
    private Integer userCount;
    /**
     * 已使用用户数量
     */
    @TableField("used_count")
    private Integer usedCount = 0;
    /**
     * 最大货量(t)
     */
    @TableField("max_volume")
    private Integer maxVolume;
    /**
     * 目前最高货量(t)
     */
    @TableField("high_volume")
    private Double highVolume = 0d;
    /**
     * 管理员帐号
     */
    @TableField("username")
    private String username;
    /**
     * 管理员密码
     */
    @TableField("password")
    private String password;
    /**
     * 公司标语
     */
    @TableField("company_slogan")
    private String companySlogan;
    /**
     * 数据状态 0删除 1正常
     */
    @TableField("rd_status")
    private Integer rdStatus;

    /**
     * 联系人名字
     */
    @TableField("name")
    private String name;
    /**
     * 联系电话
     */
    @TableField("phone_number")
    private String phoneNumber;

    /**
     * logo
     */
    @TableField("url")
    private String url;

    //验证码
    private String verifyCode;

    public String getVerifyCode() {
        return verifyCode;
    }

    public void setVerifyCode(String verifyCode) {
        this.verifyCode = verifyCode;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public Integer getCompanyCode() {
        return companyCode;
    }

    public void setCompanyCode(Integer companyCode) {
        this.companyCode = companyCode;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getProduct() {
        return product;
    }

    public void setProduct(String product) {
        this.product = product;
    }

    public Integer getUserCount() {
        return userCount;
    }

    public void setUserCount(Integer userCount) {
        this.userCount = userCount;
    }

    public Integer getUsedCount() {
        return usedCount;
    }

    public void setUsedCount(Integer usedCount) {
        this.usedCount = usedCount;
    }

    public Integer getMaxVolume() {
        return maxVolume;
    }

    public void setMaxVolume(Integer maxVolume) {
        this.maxVolume = maxVolume;
    }

    public Double getHighVolume() {
        return highVolume;
    }

    public void setHighVolume(Double highVolume) {
        this.highVolume = highVolume;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getCompanySlogan() {
        return companySlogan;
    }

    public void setCompanySlogan(String companySlogan) {
        this.companySlogan = companySlogan;
    }

    public Integer getRdStatus() {
        return rdStatus;
    }

    public void setRdStatus(Integer rdStatus) {
        this.rdStatus = rdStatus;
    }
}
